


export default class SpeedManager {


    public static getSpeed(score: number) {
        if (score < 400) {
            return 1.6;
        } else if (score < 700) {
            return 1.62;
        } else if (score < 800) {
            return 1.65;
        } else if (score < 1000) {
            return 1.68;
        } else if (score < 1500) {
            return 1.70;
        } else if (score < 2500) {
            return 1.80;
        } else if (score < 3500) {
            return 1.90;
        } else {
            return 2.0;
        }
    }
}
